import { Routes, RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { StartCourseViewComponent } from 'src/app/project/component/icm-study-schedule/start-course/start-course-view.component';
import { ACLGuard } from '@delon/acl';

const routes: Routes = [
  {
    path: 'start-course',
    canActivate: [ACLGuard],
    component: StartCourseViewComponent,
    data: {
      title: '课程开课管理',
      reuse: true,
      guard: {
        role: ['ROLE_TEACHER', 'ROLE_SENATOR'],
      },
    },
  },
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class StudyScheduleRoutingModule {}
